﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Coldairarrow.Entity.Interface
{
    /// <summary>
    /// 九方头程入库单
    /// </summary>
    /// 


    public class JF_AsnAn
    {
        public string ID { get; set; }
        public string RowId { get; set; }


        /// <summary>
        /// 入库预报单号
        /// </summary>
        public string asnAnNo { get; set; }
        /// <summary>
        /// 状态编号
        /// </summary>
        public string status { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string statusName { get; set; }

        /// <summary>
        /// 入库仓库代码
        /// </summary>
        public string whCode { get; set; }

        /// <summary>
        /// 入库仓库名称
        /// </summary>
        public string whName { get; set; }


        /// <summary>
        /// 预计到达时间
        /// </summary>
        public string arrivalTime { get; set; }

        /// <summary>
        /// 柜号	
        /// </summary>
        public string logisticsTrackingNo { get; set; }
        /// <summary>
        /// 运输方式	
        /// </summary>
        public string transportType { get; set; }
        /// <summary>
        /// 托数	
        /// </summary>
        public string anTrayQty { get; set; }
        /// <summary>
        /// 客户参考号	
        /// </summary>
        public string custReferenceNo { get; set; }

        /// <summary>
        /// 发货人
        /// </summary>
        public string shippingName { get; set; }

        /// <summary>
        /// 发货人联系方式
        /// </summary>
        public string shippingTel { get; set; }

        /// <summary>
        /// 总箱数
        /// </summary>
        public string totalPackageQty { get; set; }
        /// <summary>
        /// 商品总类数
        /// </summary>
        public string totalSkuTypeQty { get; set; }
        /// <summary>
        /// 商品数量
        /// </summary>
        public string totalSkuQty { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string remark { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public List<AsnAnSkuList> asnAnSkuList { get; set; }

        /// <summary>
        /// 系统商品代码
        /// </summary>
        public string asnAnSkuList_skuCode { get; set; }
        /// <summary>
        /// 客户商品代码
        /// </summary>
        public string asnAnSkuList_custSkuCode { get; set; }
        /// <summary>
        /// 收货数量
        /// </summary>
        public string asnAnSkuList_receiveQty { get; set; }
        /// <summary>
        /// 收货坏品数量
        /// </summary>
        public string asnAnSkuList_receiveBadQty { get; set; }
        /// <summary>
        /// 上架数量
        /// </summary>
        public string asnAnSkuList_putawayQty { get; set; }
        /// <summary>
        /// 上架坏品数量
        /// </summary>
        public string asnAnSkuList_putawayBadQty { get; set; }
        /// <summary>
        /// 系统箱号
        /// </summary>
        public string asnAnSkuList_sysPackageNo { get; set; }
        /// <summary>
        /// 客户箱号
        /// </summary>
        public string asnAnSkuList_custPackageNo { get; set; }
        /// <summary>
        /// 上架时间
        /// </summary>
        public string asnAnSkuList_putawayTime { get; set; }
        /// <summary>
        /// 收货时间
        /// </summary>
        public string asnAnSkuList_receiveTime { get; set; }
        /// <summary>
        /// 复核长
        /// </summary>
        public string asnAnSkuList_approveLength { get; set; }
        /// <summary>
        /// 复核宽
        /// </summary>
        public string asnAnSkuList_approveWidth { get; set; }
        /// <summary>
        /// 复核高
        /// </summary>
        public string asnAnSkuList_approveHeight { get; set; }
        /// <summary>
        /// 复核重量
        /// </summary>
        public string asnAnSkuList_approveWeight { get; set; }

        public class AsnAnSkuList
        {
            /// <summary>
            /// 系统商品代码
            /// </summary>
            public string skuCode { get; set; }
            /// <summary>
            /// 客户商品代码
            /// </summary>
            public string custSkuCode { get; set; }
            /// <summary>
            /// 收货数量
            /// </summary>
            public string receiveQty { get; set; }
            /// <summary>
            /// 收货坏品数量
            /// </summary>
            public string receiveBadQty { get; set; }
            /// <summary>
            /// 上架数量
            /// </summary>
            public string putawayQty { get; set; }
            /// <summary>
            /// 上架坏品数量
            /// </summary>
            public string putawayBadQty { get; set; }
            /// <summary>
            /// 系统箱号
            /// </summary>
            public string sysPackageNo { get; set; }
            /// <summary>
            /// 客户箱号
            /// </summary>
            public string custPackageNo { get; set; }
            /// <summary>
            /// 上架时间
            /// </summary>
            public string putawayTime { get; set; }
            /// <summary>
            /// 收货时间
            /// </summary>
            public string receiveTime { get; set; }
            /// <summary>
            /// 复核长
            /// </summary>
            public string approveLength { get; set; }
            /// <summary>
            /// 复核宽
            /// </summary>
            public string approveWidth { get; set; }
            /// <summary>
            /// 复核高
            /// </summary>
            public string approveHeight { get; set; }
            /// <summary>
            /// 复核重量
            /// </summary>
            public string approveWeight { get; set; }

        }

        /// <summary>
        /// 追踪号
        /// </summary>
        public List<AsnAnSkuSnList> asnAnSkuSnList { get; set; }

        public class AsnAnSkuSnList
        {

            /// <summary>
            /// 系统商品代码
            /// </summary>
            public string skuCode { get; set; }
            /// <summary>
            /// 客户商品代码
            /// </summary>
            public string custSkuCode { get; set; }
            /// <summary>
            /// 商品sn
            /// </summary>
            public string sn { get; set; }
            /// <summary>
            /// 商品收货sn
            /// </summary>
            public string receiveSn { get; set; }
        }


    }

}
